package cn.kgc.ssm.mapper;

import cn.kgc.ssm.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/12/14
 */
public interface UserMapper {
        List<User> selectAll(String username);

        void insertUser(User user);

        User selectById(Integer userId);

        void updateUser(User user);

        void updateStatus(@Param("userId") Integer userId,@Param("status") Integer status);

        void deleteById(@Param("ids") List<Integer> intIds);
}
